<?
/***
*    This file is part of Marketorama.
*
*    Marketorama is free software: you can redistribute it and/or modify
*    it under the terms of the GNU General Public License as published by
*    the Free Software Foundation, either version 3 of the License, or
*    (at your option) any later version.
*
*    Marketorama is distributed in the hope that it will be useful,
*    but WITHOUT ANY WARRANTY; without even the implied warranty of
*    MERCHANTABILITY or FITNESS FOR A PARTICULAR *PURPOSE.  See the
*    GNU General Public License for more details.
*
*    You should have received a copy of the GNU General Public License
*    along with Marketorama.  If not, see <http://www.gnu.org/licenses/>.
***/
?>
<div id='signup_form'>
    <h1>Sign up</h1>
    <p>I want to be part of the cool group of people who is using this application!</p>
    <?
        echo form_open('signup/createMember');
        echo 'What\'s your first name?';
        echo form_input('firstname', set_value('firstname'));
        echo 'And the second one?';
        echo form_input('secondname', set_value('secondname'));
        echo 'Ok, now a cool username, you know, for the login and all that stuff';
        echo form_input('username', set_value('username'));
        echo 'And a password?';
        echo form_password('password', set_value('password'));
        echo 'Can you say that password again?';
        echo form_password('password2', set_value('password2'));
        echo 'And last but not least, a mail adress so we can contact you in case of need';
        echo form_input('emailaddress', set_value('emailaddress'));
        echo form_submit ('submit','That\'s my data');
        echo validation_errors('<p class="error">');
        
    ?>
</div>
